
<%@ page import="org.tailor.Tailor" %>
<html>
    <head>

<meta name="layout" content="mainLayout" />
<g:set var="entityName"
	value="${message(code: 'Tailor.label', default: 'Tailor')}" />

	
</head>
    <body>
        <div class="col_middle">
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table align="center">
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.tailorID.label" default="Tailor ID" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "tailorID")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.tailorName.label" default="Tailor Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "tailorName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.login.label" default="Login" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "login")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.password.label" default="Password" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "password")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.address01.label" default="Address01" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "address01")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.address02.label" default="Address02" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "address02")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.city.label" default="City" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "city")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.contactFName.label" default="Contact FN ame" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "contactFName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.contactLName.label" default="Contact LN ame" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "contactLName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.contactTitle.label" default="Contact Title" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "contactTitle")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.country.label" default="Country" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "country")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.discountType.label" default="Discount Type" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "discountType")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.email.label" default="Email" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "email")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.fax.label" default="Fax" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "fax")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.notes.label" default="Notes" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "notes")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.paymentMethods.label" default="Payment Methods" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "paymentMethods")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.phone.label" default="Phone" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "phone")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.postalCode.label" default="Postal Code" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "postalCode")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.regions.label" default="Regions" /></td>
                            
                            <td valign="top" class="value"><g:link controller="regions" action="show" id="${tailorInstance?.regions?.id}">${tailorInstance?.regions?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.shirt.label" default="Shirt" /></td>
                            
                            <td valign="top" style="text-align: left;" class="value">
                                <ul>
                                <g:each in="${tailorInstance.shirt}" var="s">
                                    <li><g:link controller="shirt" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.state.label" default="State" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "state")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.tailorDescription.label" default="Tailor Description" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "tailorDescription")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.typeShirt.label" default="Type Shirt" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "typeShirt")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tailor.url.label" default="Url" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: tailorInstance, field: "url")}</td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${tailorInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
        </div>
    </body>
</html>
